Count total number of words